package com.ctshk.rpc.starvip.dto.start_vip.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import java.io.Serializable;

/**
 * @BelongsProject: Test
 * @BelongsPackage: com.hef.test.StarRewards
 * @Author: hef
 * @CreateTime: 2021-04-09 18:02
 * @Description: 描述
 */
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Data
@XmlRootElement(name = "LoyMembershipCard")
public class LoyMembershipCard implements Serializable {
    @XmlElement(name = "CardNumber")
    private String cardNumber;
    @XmlElement(name = "CardType")
    private String cardType;
    @XmlElement(name = "CTSCardNumber")
    private String ctsCardNumber;

    @XmlTransient
    public String getCardNumber() {
        return cardNumber;
    }

    @XmlTransient
    public String getCardType() {
        return cardType;
    }

    @XmlTransient
    public String getCtsCardNumber() {
        return ctsCardNumber;
    }
}
